From: Don Slutz Date: Thu, 3 Apr 2014 19:06:59 +0000 (-0400) Subject: xenctx: More info on failed to map page. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~5269 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ef81fc0bc00e2f86c25dd01ff33f9abc964da56f;p=xen.git xenctx: More info on failed to map page. Also output an extra new line since we may be in the middle of output. Signed-off-by: Don Slutz Acked-by: Ian Campbell Acked-by: George Dunlap --- diff --git a/tools/xentrace/xenctx.c b/tools/xentrace/xenctx.c index eb30577cef..4bb5507212 100644 --- a/tools/xentrace/xenctx.c +++ b/tools/xentrace/xenctx.c @@ -618,7 +618,7 @@ static void *map_page(vcpu_guest_context_any_t *ctx, int vcpu, guest_word_t virt mapped = xc_map_foreign_range(xenctx.xc_handle, xenctx.domid, XC_PAGE_SIZE, PROT_READ, mfn); if (mapped == NULL) { - fprintf(stderr, "failed to map page.\n"); + fprintf(stderr, "\nfailed to map page for "FMT_32B_WORD".\n", virt); return NULL; }